﻿HexToBin(ByRef bin,hex) { ; Thanks Laszo
  static h2b
  if !h2b
    h2b:=McodeH(A_PtrSize=8?"440FB60A48FFC24C8BD14584C9745490450FB6C141C0E806410FB6C0C0E0034402C04502C141C0E004458802440FB60A4584C9742E410FB6C94180E10F49FFC2C0E9064883C2020FB6C1C0E00302C84102C9410AC841884AFF440FB64AFF4584C975ADF3C3":"558BEC568B750C8A0E4684C97447578B7D08538AC1C0E8068AD002D202D202D202C28D1401C0E20488178A0E84C974238AC1C0E8068AD802DB02DB02DB02C380E10F02C10AC288078A4E014783C60284C975C05B5F5E5DC3","i==ta")
  VarSetCapacity(bin,StrLen(hex)/2 + 1),h2b[&bin,hex]
  Return &bin
}